const router = require('koa-router')()
const UserController = require('../controller/users')

router.prefix('/users')
// users/register
router.post('/register', UserController.register)
router.post('/login', UserController.login)

module.exports = router
